> For the complete documentation index, see [llms.txt](https://65480539.gitbook.io/goft/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://65480539.gitbook.io/goft/master.md).

# gin脚手架使用文档

#### 在web框架gin的基础上做的脚手架

&#x20;安装：go get -u github.com/shenyisyn/goft-gin\@v0.5.1

#### &#x20;功能包含

&#x20;   控制器、简易依赖注入、中间件、表达式、任务组件、适配精简版领域驱动(DDD)等

**本脚手架的目的**

&#x20;  是对gin这个框架进行增强，并不打算独立成为一个框架。现在框架是已经非常多了，而且都大同小异。外加现在k8s、service mesh、serverless架构开始逐步盛行，有时候我们并不需要一个大而全的框架

**后期完善：**

&#x20;  脚手架后期将逐步往service mesh、serverless发展，重点适配serverless

**教学视频：**

&#x20;  <http://b.jtthink.com/read.php?tid=571&fid=2>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://65480539.gitbook.io/goft/master.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
